pipeline {
    agent  any
    
    parameters {
        string(name: 'DEPLOY_ENV', defaultValue: 'staging', description: '')
    }

    environment {
        unit_test = "$params.DEPLOY_ENV"
    }
    
    stages {
        stage('Example') {
            steps {
	                script {
	                    sh "echo $unit_test"
	                }
                }
            }
        }
}
